<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header(links)">
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="_csrf" th:content="${_csrf.token}"/>
    <meta name="_csrf_header" th:content="${_csrf.headerName}"/>
    <title>维修申请</title>
    <link th:href="@{/static/plug-in/layui/css/layui.css}" rel="stylesheet" media="all"/>
    <link th:href="@{/static/resources/css/apply.css}" rel="stylesheet" media="all"/>
    <th:block  th:replace="${links}"/>
</head>
<body th:fragment="body(content,step,scripts)">
<div class="layui-container">
    <div class="layui-custom-header">
       <th:block th:replace="${step}"/>
    </div>
    <div class="layui-custom-body">
        <form class="layui-form layui-form-pane custom-form" method="post" th:action="${url}" enctype="multipart/form-data">
            <div class="layui-custom-form">
                <th:block th:replace="${content}"/>
            </div>
            <input type="hidden" name="id" th:value="${entity.id}"/>
            <input type="hidden" name="stepId" th:value="${stepId}"/>
        </form>
        <input type="hidden" name="msg" th:value="${msg}"/>
    </div>
</div>
<!--Layui -->
<script th:src="@{/static/plug-in/layui/layui.js}" media="all"></script>
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<th:block th:replace="${scripts}"/>
</body>
</html>